reftests: Always wait for rendering to settle
authorBenjamin Otte <otte@redhat.com>
Wed, 2 Aug 2017 10:32:50 +0000 (11:32 +0100)
committerBenjamin Otte <otte@redhat.com>
Wed, 2 Aug 2017 10:34:57 +0000 (11:34 +0100)
commit9ec22d66524807f910e41f3a41a75cfa28655b7b
tree730cd17eb8480a19ccfef73559bacf2efaac44bf
parent64b7308328ed584144ad3286119739c3e82edd1f
reftests: Always wait for rendering to settle

We wait for a few 100ms for rendering to settle in various WMs. So far
we only did that for windows that were controlled by the WM (aka
toplevels).

With modern compositing gnome-shell however, this now also applies to
override-redirect windows, so we now wait there, too.

This makes the reftests a lot slower, but they now actually work when
running make check in gnome-shell.
testsuite/reftests/reftest-snapshot.c